package com.edgardeng.education.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.edgardeng.education.entity.BaseEntity;

/**
 * <p>
 * 学校班级
 * </p>
 *
 * @author edgardeng
 * @since 2020-04-28
 */
@TableName("t_school_class")
public class SchoolClass extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    private String name;

    /**
     * 学校ID
     */
    private Long schoolId;

    /**
     * 年级
     */
    private Integer gradeCode;

    /**
     * 年级名称
     */
    private String gradeName;

    /**
     * 班级
     */
    private Integer classCode;

    /**
     * 班级名称
     */
    private String className;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Integer getGradeCode() {
        return gradeCode;
    }

    public void setGradeCode(Integer gradeCode) {
        this.gradeCode = gradeCode;
    }
    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }
    public Integer getClassCode() {
        return classCode;
    }

    public void setClassCode(Integer classCode) {
        this.classCode = classCode;
    }
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    @Override
    public String toString() {
        return "SchoolClass{" +
            "name=" + name +
            ", schoolId=" + schoolId +
            ", gradeCode=" + gradeCode +
            ", gradeName=" + gradeName +
            ", classCode=" + classCode +
            ", className=" + className +
        "}"+ super.toString();
    }
}
